﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Dos.ORM.Database" />
<meta name="generator" content="DocsBuilder" />
<title>Database 类 (Dos.ORM)</title>
<script type="text/javascript" src="scripts/jquery-1.11.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../styles/zebra.css" />
<script type="text/javascript" src="../../scripts/accordion.js"></script>
</head><body>
<h1>Database 类</h1>
  <div id="familySection">
        System.Object<br />
        &nbsp;&nbsp;<b>Dos.ORM.Database</b><br />
  </div>
<div id="summarySection">
  
Database

</div>
<div id="namespaceSection"> <strong>命名空间：</strong><a href="../ORM/namespace-summary.html">Dos.ORM</a><br />
  <strong>程序集：</strong><span>Dos.ORM（在 Dos.ORM.dll 中）</span> </div>
<div id="syntaxSection" class="syntaxSection"> <pre class="code"><span class="keyword">public</span> <span class="keyword">sealed</span> <span class="keyword">class</span> <span class="type">Database</span> : <span class="type">ILogable</span></pre> </div>
  <a id="constructorTableToggle" onclick="ExpandCollapse(document.getElementById('constructorTableSection'));ToggleSwitch(this.childNodes[0].childNodes[0]);"><h2><img alt="" title="折叠" src="../../images/collapse.png" />构造函数</h2></a>
  <div id="constructorTableSection">
    <table id="constructorTable" class="memberTable" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <th></th>
        <th>名称</th>
        <th>说明</th>
      </tr>
        <tr id="#ctor(Dos.ORM.DbProvider)">
          <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
          </td>
          <td>
            <a href="##ctor(Dos.ORM.DbProvider)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">Database(DbProvider)</a>
          </td>
          <td>
            
构造函数

          </td>
        </tr>
        <tr style="display:none;">
          <td colspan="3">
            <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                <h3>Database(DbProvider) 构造函数 </h3>
                <div>
构造函数
</div>
                <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> Database(<a href="DbProvider.html" class="type">DbProvider</a> dbProvider)</pre></div>
                  <h5>参数</h5>
                  <dl class="paramsSection">
                      <dt>dbProvider</dt>
                      <dd>
                        类型：<span class="type"><a href="DbProvider.html">Dos.ORM.DbProvider</a></span><br />
                        
                      </dd>
                  </dl>
            </div>
          </td>
        </tr>
    </table>
  </div>
    <a id="fieldTableToggle" onclick="ExpandCollapse(document.getElementById('fieldTableSection'));ToggleSwitch(this.childNodes[0].childNodes[0]);"><h2><img alt="" title="折叠" src="../../images/collapse.png" />字段</h2></a>
    <div id="fieldTableSection">
      <table id="fieldTable" class="memberTable" cellspacing="0" cellpadding="0" border="0">
        <tr>
          <th></th>
          <th>名称</th>
          <th>说明</th>
        </tr>
          <tr id="Default">
            <td><img alt="" title="公共字段" src="../../images/pubfield.gif" /><img alt="" title="静态成员" src="../../images/static.gif" />
            </td>
            <td><a href="#Default" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">Default</a>
            </td>
            <td>
              
Default Database

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
                <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.Default 字段 </h3>
                  <div>
                    
Default Database

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="type">Database</span> Default</pre></div>
                  <h5>字段值</h5>
                  类型：<span class="type"><a href="Database.html">Dos.ORM.Database</a></span>
                </div>
              </td>
            </tr>
      </table>
    </div>
  <a id="propertyTableToggle" onclick="ExpandCollapse(document.getElementById('propertyTableSection'));ToggleSwitch(this.childNodes[0].childNodes[0]);"><h2><img alt="" title="折叠" src="../../images/collapse.png" />属性</h2></a>
  <div id="propertyTableSection">
    <table id="propertyTable" class="memberTable" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <th></th>
        <th>名称</th>
        <th>说明</th>
      </tr>
          <tr id="ConnectionString">
            <td><img alt="" title="公共属性" src="../../images/pubproperty.gif" />
            </td>
            <td><a href="#ConnectionString" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ConnectionString</a>
            </td>
            <td>
              
Gets the connect string.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
                <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ConnectionString 属性 </h3>
                  <div>
                    
Gets the connect string.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">string</span> ConnectionString { <span class="keyword">get</span>; }</pre></div>
                  <h5>属性值</h5>
                  <div class="returnsSection">
                    类型：<span class="type">System.String</span><br />
                    The connect string.
                  </div>
                </div>
              </td>
            </tr>
          <tr id="DbProvider">
            <td><img alt="" title="公共属性" src="../../images/pubproperty.gif" />
            </td>
            <td><a href="#DbProvider" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">DbProvider</a>
            </td>
            <td>
              
Gets the db provider.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
                <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.DbProvider 属性 </h3>
                  <div>
                    
Gets the db provider.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <a href="DbProvider.html" class="type">DbProvider</a> DbProvider { <span class="keyword">get</span>; }</pre></div>
                  <h5>属性值</h5>
                  <div class="returnsSection">
                    类型：<span class="type"><a href="DbProvider.html">Dos.ORM.DbProvider</a></span><br />
                    The db provider.
                  </div>
                </div>
              </td>
            </tr>
          <tr id="DbProviderFactory">
            <td><img alt="" title="公共属性" src="../../images/pubproperty.gif" />
            </td>
            <td><a href="#DbProviderFactory" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">DbProviderFactory</a>
            </td>
            <td>
              
Gets the DbProviderFactory

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
                <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.DbProviderFactory 属性 </h3>
                  <div>
                    
Gets the DbProviderFactory

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbProviderFactory</span> DbProviderFactory { <span class="keyword">get</span>; }</pre></div>
                  <h5>属性值</h5>
                  <div class="returnsSection">
                    类型：<span class="type">System.Data.Common.DbProviderFactory</span><br />
                    
                  </div>
                </div>
              </td>
            </tr>
          <tr id="IsBatchConnection">
            <td><img alt="" title="公共属性" src="../../images/pubproperty.gif" />
            </td>
            <td><a href="#IsBatchConnection" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">IsBatchConnection</a>
            </td>
            <td>
              
Gets a value indicating whether this instance is batch connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
                <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.IsBatchConnection 属性 </h3>
                  <div>
                    
Gets a value indicating whether this instance is batch connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">bool</span> IsBatchConnection { <span class="keyword">get</span>; }</pre></div>
                  <h5>属性值</h5>
                  <div class="returnsSection">
                    类型：<span class="type">System.Boolean</span><br />
                    <code>true</code> if this instance is batch connection; otherwise, <code>false</code>.

                  </div>
                </div>
              </td>
            </tr>
    </table>
  </div>
  <a id="methodTableToggle" onclick="ExpandCollapse(document.getElementById('methodTableSection'));ToggleSwitch(this.childNodes[0].childNodes[0]);"><h2><img alt="" title="折叠" src="../../images/collapse.png" />方法</h2></a>
  <div id="methodTableSection">
    <table id="methodTable" class="memberTable" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <th></th>
        <th>名称</th>
        <th>说明</th>
      </tr>
          <tr id="AddInParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddInParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddInParameter(DbCommand, String, DbType)</a>
            </td>
            <td>
              
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddInParameter(DbCommand, String, DbType) 方法 </h3>
                  <div>
                    
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddInParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The command to add the in parameter.
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the parameter.</p>
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          <p>One of the <code>System.Data.DbType</code> values.</p>
                        </dd>
                    </dl>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />备注</h4></a>
                    <div><p>This version of the method is used when you can have the same parameter object multiple times with different values.</p></div>
                </div>
              </td>
            </tr>
          <tr id="AddInParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32,System.Object)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddInParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32,System.Object)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddInParameter(DbCommand, String, DbType, Int32, Object)</a>
            </td>
            <td>
              
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddInParameter(DbCommand, String, DbType, Int32, Object) 方法 </h3>
                  <div>
                    
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddInParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType, <span class="keyword">int</span> size, <span class="keyword">object</span> <span class="keyword">value</span>)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The commmand to add the parameter.
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the parameter.</p>
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          <p>One of the <code>System.Data.DbType</code> values.</p>
                        </dd>
                        <dt>size</dt>
                        <dd>
                          类型：<span class="type">System.Int32</span><br />
                          size
                        </dd>
                        <dt>value</dt>
                        <dd>
                          类型：<span class="type">System.Object</span><br />
                          <p>The value of the parameter.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddInParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Object)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddInParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Object)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddInParameter(DbCommand, String, DbType, Object)</a>
            </td>
            <td>
              
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddInParameter(DbCommand, String, DbType, Object) 方法 </h3>
                  <div>
                    
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddInParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType, <span class="keyword">object</span> <span class="keyword">value</span>)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The commmand to add the parameter.
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the parameter.</p>
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          <p>One of the <code>System.Data.DbType</code> values.</p>
                        </dd>
                        <dt>value</dt>
                        <dd>
                          类型：<span class="type">System.Object</span><br />
                          <p>The value of the parameter.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddInParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.String,System.Data.DataRowVersion)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddInParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.String,System.Data.DataRowVersion)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddInParameter(DbCommand, String, DbType, String, DataRowVersion)</a>
            </td>
            <td>
              
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddInParameter(DbCommand, String, DbType, String, DataRowVersion) 方法 </h3>
                  <div>
                    
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddInParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType, <span class="keyword">string</span> sourceColumn, <span class="type">DataRowVersion</span> sourceVersion)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The command to add the parameter.
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the parameter.</p>
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          <p>One of the <code>System.Data.DbType</code> values.</p>
                        </dd>
                        <dt>sourceColumn</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the source column mapped to the DataSet and used for loading or returning the value.</p>
                        </dd>
                        <dt>sourceVersion</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataRowVersion</span><br />
                          <p>One of the <code>System.Data.DataRowVersion</code> values.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddInParameter(System.Data.Common.DbCommand,System.String,System.Object)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddInParameter(System.Data.Common.DbCommand,System.String,System.Object)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddInParameter(DbCommand, String, Object)</a>
            </td>
            <td>
              
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddInParameter(DbCommand, String, Object) 方法 </h3>
                  <div>
                    
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddInParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="keyword">object</span> <span class="keyword">value</span>)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The commmand to add the parameter.
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the parameter.</p>
                        </dd>
                        <dt>value</dt>
                        <dd>
                          类型：<span class="type">System.Object</span><br />
                          <p>The value of the parameter.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddInputOutputParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32,System.Object)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddInputOutputParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32,System.Object)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddInputOutputParameter(DbCommand, String, DbType, Int32, Object)</a>
            </td>
            <td>
              
Adds a new In and Out

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddInputOutputParameter(DbCommand, String, DbType, Int32, Object) 方法 </h3>
                  <div>
                    
Adds a new In and Out

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddInputOutputParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType, <span class="keyword">int</span> size, <span class="keyword">object</span> <span class="keyword">value</span>)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          
                        </dd>
                        <dt>size</dt>
                        <dd>
                          类型：<span class="type">System.Int32</span><br />
                          
                        </dd>
                        <dt>value</dt>
                        <dd>
                          类型：<span class="type">System.Object</span><br />
                          
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddOutParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddOutParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddOutParameter(DbCommand, String, DbType, Int32)</a>
            </td>
            <td>
              
Adds a new Out <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddOutParameter(DbCommand, String, DbType, Int32) 方法 </h3>
                  <div>
                    
Adds a new Out <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddOutParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType, <span class="keyword">int</span> size)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The command to add the out parameter.
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the parameter.</p>
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          <p>One of the <code>System.Data.DbType</code> values.</p>
                        </dd>
                        <dt>size</dt>
                        <dd>
                          类型：<span class="type">System.Int32</span><br />
                          <p>The maximum size of the data within the column.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddParameter(System.Data.Common.DbCommand,System.Data.Common.DbParameter[])">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddParameter(System.Data.Common.DbCommand,System.Data.Common.DbParameter[])" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddParameter(DbCommand, DbParameter[])</a>
            </td>
            <td>
              
Adds parameters

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddParameter(DbCommand, DbParameter[]) 方法 </h3>
                  <div>
                    
Adds parameters

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddParameter(<span class="type">DbCommand</span> command, <span class="keyword">params</span> <span class="type">DbParameter</span>[] parameters)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          
                        </dd>
                        <dt>parameters</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbParameter[]</span><br />
                          
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Data.ParameterDirection,System.String,System.Data.DataRowVersion,System.Object)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Data.ParameterDirection,System.String,System.Data.DataRowVersion,System.Object)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddParameter(DbCommand, String, DbType, ParameterDirection, String, DataRowVersion, Object)</a>
            </td>
            <td>
              <p>Adds a new instance of a <code>System.Data.Common.DbParameter</code> object to the command.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddParameter(DbCommand, String, DbType, ParameterDirection, String, DataRowVersion, Object) 方法 </h3>
                  <div>
                    <p>Adds a new instance of a <code>System.Data.Common.DbParameter</code> object to the command.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType, <span class="type">ParameterDirection</span> direction, <span class="keyword">string</span> sourceColumn, <span class="type">DataRowVersion</span> sourceVersion, <span class="keyword">object</span> <span class="keyword">value</span>)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The command to add the parameter.
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the parameter.</p>
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          <p>One of the <code>System.Data.DbType</code> values.</p>
                        </dd>
                        <dt>direction</dt>
                        <dd>
                          类型：<span class="type">System.Data.ParameterDirection</span><br />
                          <p>One of the <code>System.Data.ParameterDirection</code> values.</p>
                        </dd>
                        <dt>sourceColumn</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the source column mapped to the DataSet and used for loading or returning the <span class="parameter"></span>.</p>
                        </dd>
                        <dt>sourceVersion</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataRowVersion</span><br />
                          <p>One of the <code>System.Data.DataRowVersion</code> values.</p>
                        </dd>
                        <dt>value</dt>
                        <dd>
                          类型：<span class="type">System.Object</span><br />
                          <p>The value of the parameter.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32,System.Data.ParameterDirection,System.Boolean,System.Byte,System.Byte,System.String,System.Data.DataRowVersion,System.Object)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32,System.Data.ParameterDirection,System.Boolean,System.Byte,System.Byte,System.String,System.Data.DataRowVersion,System.Object)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddParameter(DbCommand, String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object)</a>
            </td>
            <td>
              
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddParameter(DbCommand, String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) 方法 </h3>
                  <div>
                    
Adds a new In <code>System.Data.Common.DbParameter</code> object to the given <span class="parameter"></span>.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType, <span class="keyword">int</span> size, <span class="type">ParameterDirection</span> direction, <span class="keyword">bool</span> nullable, <span class="keyword">byte</span> precision, <span class="keyword">byte</span> scale, <span class="keyword">string</span> sourceColumn, <span class="type">DataRowVersion</span> sourceVersion, <span class="keyword">object</span> <span class="keyword">value</span>)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The command to add the parameter.
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the parameter.</p>
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          <p>One of the <code>System.Data.DbType</code> values.</p>
                        </dd>
                        <dt>size</dt>
                        <dd>
                          类型：<span class="type">System.Int32</span><br />
                          <p>The maximum size of the data within the column.</p>
                        </dd>
                        <dt>direction</dt>
                        <dd>
                          类型：<span class="type">System.Data.ParameterDirection</span><br />
                          <p>One of the <code>System.Data.ParameterDirection</code> values.</p>
                        </dd>
                        <dt>nullable</dt>
                        <dd>
                          类型：<span class="type">System.Boolean</span><br />
                          <p>Avalue indicating whether the parameter accepts  (<b>Nothing</b> in Visual Basic) values.</p>
                        </dd>
                        <dt>precision</dt>
                        <dd>
                          类型：<span class="type">System.Byte</span><br />
                          <p>The maximum number of digits used to represent the <span class="parameter"></span>.</p>
                        </dd>
                        <dt>scale</dt>
                        <dd>
                          类型：<span class="type">System.Byte</span><br />
                          <p>The number of decimal places to which <span class="parameter"></span> is resolved.</p>
                        </dd>
                        <dt>sourceColumn</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the source column mapped to the DataSet and used for loading or returning the <span class="parameter"></span>.</p>
                        </dd>
                        <dt>sourceVersion</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataRowVersion</span><br />
                          <p>One of the <code>System.Data.DataRowVersion</code> values.</p>
                        </dd>
                        <dt>value</dt>
                        <dd>
                          类型：<span class="type">System.Object</span><br />
                          <p>The value of the parameter.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="AddReturnValueParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#AddReturnValueParameter(System.Data.Common.DbCommand,System.String,System.Data.DbType,System.Int32)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">AddReturnValueParameter(DbCommand, String, DbType, Int32)</a>
            </td>
            <td>
              
Adds a new return

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.AddReturnValueParameter(DbCommand, String, DbType, Int32) 方法 </h3>
                  <div>
                    
Adds a new return

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> AddReturnValueParameter(<span class="type">DbCommand</span> command, <span class="keyword">string</span> name, <span class="type">DbType</span> dbType, <span class="keyword">int</span> size)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          
                        </dd>
                        <dt>name</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          
                        </dd>
                        <dt>dbType</dt>
                        <dd>
                          类型：<span class="type">System.Data.DbType</span><br />
                          
                        </dd>
                        <dt>size</dt>
                        <dd>
                          类型：<span class="type">System.Int32</span><br />
                          
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="BeginBatchConnection">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#BeginBatchConnection" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">BeginBatchConnection</a>
            </td>
            <td>
              
Begins the batch connection.   the default size of the batch is 10.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.BeginBatchConnection 方法 </h3>
                  <div>
                    
Begins the batch connection.   the default size of the batch is 10.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> BeginBatchConnection()</pre></div>
                </div>
              </td>
            </tr>
          <tr id="BeginBatchConnection(System.Int32)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#BeginBatchConnection(System.Int32)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">BeginBatchConnection(Int32)</a>
            </td>
            <td>
              
Begins the batch connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.BeginBatchConnection(Int32) 方法 </h3>
                  <div>
                    
Begins the batch connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> BeginBatchConnection(<span class="keyword">int</span> batchSize)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>batchSize</dt>
                        <dd>
                          类型：<span class="type">System.Int32</span><br />
                          Size of the batch.
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="BeginBatchConnection(System.Int32,System.Data.Common.DbTransaction)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#BeginBatchConnection(System.Int32,System.Data.Common.DbTransaction)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">BeginBatchConnection(Int32, DbTransaction)</a>
            </td>
            <td>
              
Begins the batch connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.BeginBatchConnection(Int32, DbTransaction) 方法 </h3>
                  <div>
                    
Begins the batch connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> BeginBatchConnection(<span class="keyword">int</span> batchSize, <span class="type">DbTransaction</span> tran)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>batchSize</dt>
                        <dd>
                          类型：<span class="type">System.Int32</span><br />
                          Size of the batch.
                        </dd>
                        <dt>tran</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          The tran.
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="BeginBatchConnection(System.Int32,System.Data.IsolationLevel)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#BeginBatchConnection(System.Int32,System.Data.IsolationLevel)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">BeginBatchConnection(Int32, IsolationLevel)</a>
            </td>
            <td>
              
Begins the batch connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.BeginBatchConnection(Int32, IsolationLevel) 方法 </h3>
                  <div>
                    
Begins the batch connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> BeginBatchConnection(<span class="keyword">int</span> batchSize, <span class="type">IsolationLevel</span> il)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>batchSize</dt>
                        <dd>
                          类型：<span class="type">System.Int32</span><br />
                          Size of the batch.
                        </dd>
                        <dt>il</dt>
                        <dd>
                          类型：<span class="type">System.Data.IsolationLevel</span><br />
                          The il.
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="BeginTransaction">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#BeginTransaction" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">BeginTransaction</a>
            </td>
            <td>
              
Begins the transaction.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.BeginTransaction 方法 </h3>
                  <div>
                    
Begins the transaction.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbTransaction</span> BeginTransaction()</pre></div>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                      
                    </div>
                </div>
              </td>
            </tr>
          <tr id="BeginTransaction(System.Data.IsolationLevel)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#BeginTransaction(System.Data.IsolationLevel)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">BeginTransaction(IsolationLevel)</a>
            </td>
            <td>
              
Begins the transaction.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.BeginTransaction(IsolationLevel) 方法 </h3>
                  <div>
                    
Begins the transaction.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbTransaction</span> BeginTransaction(<span class="type">IsolationLevel</span> il)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>il</dt>
                        <dd>
                          类型：<span class="type">System.Data.IsolationLevel</span><br />
                          The il.
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                      
                    </div>
                </div>
              </td>
            </tr>
          <tr id="CloseConnection(System.Data.Common.DbCommand)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#CloseConnection(System.Data.Common.DbCommand)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">CloseConnection(DbCommand)</a>
            </td>
            <td>
              
Closes the connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.CloseConnection(DbCommand) 方法 </h3>
                  <div>
                    
Closes the connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> CloseConnection(<span class="type">DbCommand</span> command)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The command.
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="CloseConnection(System.Data.Common.DbConnection)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#CloseConnection(System.Data.Common.DbConnection)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">CloseConnection(DbConnection)</a>
            </td>
            <td>
              
Closes the connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.CloseConnection(DbConnection) 方法 </h3>
                  <div>
                    
Closes the connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> CloseConnection(<span class="type">DbConnection</span> conn)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>conn</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbConnection</span><br />
                          The conn.
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="CloseConnection(System.Data.Common.DbTransaction)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#CloseConnection(System.Data.Common.DbTransaction)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">CloseConnection(DbTransaction)</a>
            </td>
            <td>
              
Closes the connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.CloseConnection(DbTransaction) 方法 </h3>
                  <div>
                    
Closes the connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> CloseConnection(<span class="type">DbTransaction</span> tran)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>tran</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          The tran.
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="CreateConnection">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#CreateConnection" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">CreateConnection</a>
            </td>
            <td>
              <p>When overridden in a derived class, gets the connection for this database.</p><seealso cref="T:System.Data.Common.DbConnection" />
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.CreateConnection 方法 </h3>
                  <div>
                    <p>When overridden in a derived class, gets the connection for this database.</p><seealso cref="T:System.Data.Common.DbConnection" />
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbConnection</span> CreateConnection()</pre></div>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbConnection</span><br />
                      <p>The <code>System.Data.Common.DbConnection</code> for this database.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="CreateConnection(System.Boolean)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#CreateConnection(System.Boolean)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">CreateConnection(Boolean)</a>
            </td>
            <td>
              <p>When overridden in a derived class, gets the connection for this database.</p><seealso cref="T:System.Data.Common.DbConnection" />
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.CreateConnection(Boolean) 方法 </h3>
                  <div>
                    <p>When overridden in a derived class, gets the connection for this database.</p><seealso cref="T:System.Data.Common.DbConnection" />
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbConnection</span> CreateConnection(<span class="keyword">bool</span> tryOpenning)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>tryOpenning</dt>
                        <dd>
                          类型：<span class="type">System.Boolean</span><br />
                          
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbConnection</span><br />
                      <p>The <code>System.Data.Common.DbConnection</code> for this database.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="EndBatchConnection">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#EndBatchConnection" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">EndBatchConnection</a>
            </td>
            <td>
              
Ends the batch connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.EndBatchConnection 方法 </h3>
                  <div>
                    
Ends the batch connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> EndBatchConnection()</pre></div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteDataSet(System.Data.CommandType,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteDataSet(System.Data.CommandType,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteDataSet(CommandType, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> and returns the results in a new <code>System.Data.DataSet</code>.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteDataSet(CommandType, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> and returns the results in a new <code>System.Data.DataSet</code>.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DataSet</span> ExecuteDataSet(<span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.DataSet</span><br />
                      <p>A <code>System.Data.DataSet</code> with the results of the <span class="parameter"></span>.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteDataSet(System.Data.Common.DbCommand)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteDataSet(System.Data.Common.DbCommand)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteDataSet(DbCommand)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> and returns the results in a new <code>System.Data.DataSet</code>.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteDataSet(DbCommand) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> and returns the results in a new <code>System.Data.DataSet</code>.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DataSet</span> ExecuteDataSet(<span class="type">DbCommand</span> command)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The <code>System.Data.Common.DbCommand</code> to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.DataSet</span><br />
                      A <code>System.Data.DataSet</code> with the results of the <span class="parameter"></span>.
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteDataSet(System.Data.Common.DbCommand,System.Data.Common.DbTransaction)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteDataSet(System.Data.Common.DbCommand,System.Data.Common.DbTransaction)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteDataSet(DbCommand, DbTransaction)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> as part of the <span class="parameter"></span> and returns the results in a new <code>System.Data.DataSet</code>.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteDataSet(DbCommand, DbTransaction) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> as part of the <span class="parameter"></span> and returns the results in a new <code>System.Data.DataSet</code>.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DataSet</span> ExecuteDataSet(<span class="type">DbCommand</span> command, <span class="type">DbTransaction</span> transaction)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The <code>System.Data.Common.DbCommand</code> to execute.</p>
                        </dd>
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.DataSet</span><br />
                      A <code>System.Data.DataSet</code> with the results of the <span class="parameter"></span>.
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteDataSet(System.Data.Common.DbTransaction,System.Data.CommandType,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteDataSet(System.Data.Common.DbTransaction,System.Data.CommandType,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteDataSet(DbTransaction, CommandType, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> as part of the given <span class="parameter"></span> and returns the results in a new <code>System.Data.DataSet</code>.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteDataSet(DbTransaction, CommandType, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> as part of the given <span class="parameter"></span> and returns the results in a new <code>System.Data.DataSet</code>.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DataSet</span> ExecuteDataSet(<span class="type">DbTransaction</span> transaction, <span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.DataSet</span><br />
                      <p>A <code>System.Data.DataSet</code> with the results of the <span class="parameter"></span>.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteNonQuery(System.Data.CommandType,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteNonQuery(System.Data.CommandType,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteNonQuery(CommandType, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> and returns the number of rows affected.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteNonQuery(CommandType, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> and returns the number of rows affected.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">int</span> ExecuteNonQuery(<span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Int32</span><br />
                      <p>The number of rows affected.</p>
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.IDbCommand.ExecuteScalar<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteNonQuery(System.Data.Common.DbCommand)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteNonQuery(System.Data.Common.DbCommand)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteNonQuery(DbCommand)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> and returns the number of rows affected.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteNonQuery(DbCommand) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> and returns the number of rows affected.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">int</span> ExecuteNonQuery(<span class="type">DbCommand</span> command)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The command that contains the query to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Int32</span><br />
                      
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.IDbCommand.ExecuteScalar<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteNonQuery(System.Data.Common.DbCommand,System.Data.Common.DbTransaction)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteNonQuery(System.Data.Common.DbCommand,System.Data.Common.DbTransaction)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteNonQuery(DbCommand, DbTransaction)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> within the given <span class="parameter"></span>, and returns the number of rows affected.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteNonQuery(DbCommand, DbTransaction) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> within the given <span class="parameter"></span>, and returns the number of rows affected.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">int</span> ExecuteNonQuery(<span class="type">DbCommand</span> command, <span class="type">DbTransaction</span> transaction)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The command that contains the query to execute.</p>
                        </dd>
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Int32</span><br />
                      
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.IDbCommand.ExecuteScalar<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteNonQuery(System.Data.Common.DbTransaction,System.Data.CommandType,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteNonQuery(System.Data.Common.DbTransaction,System.Data.CommandType,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteNonQuery(DbTransaction, CommandType, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> as part of the given <span class="parameter"></span> and returns the number of rows affected.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteNonQuery(DbTransaction, CommandType, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> as part of the given <span class="parameter"></span> and returns the number of rows affected.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">int</span> ExecuteNonQuery(<span class="type">DbTransaction</span> transaction, <span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Int32</span><br />
                      <p>The number of rows affected</p>
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.IDbCommand.ExecuteScalar<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecutePendingBatchOperations">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecutePendingBatchOperations" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecutePendingBatchOperations</a>
            </td>
            <td>
              
Executes the pending batch operations.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecutePendingBatchOperations 方法 </h3>
                  <div>
                    
Executes the pending batch operations.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> ExecutePendingBatchOperations()</pre></div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteReader(System.Data.CommandType,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteReader(System.Data.CommandType,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteReader(CommandType, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> and returns an <code>System.Data.IDataReader</code> through which the result can be read.<br />It is the responsibility of the caller to close the connection and reader when finished.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteReader(CommandType, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> and returns an <code>System.Data.IDataReader</code> through which the result can be read.<br />It is the responsibility of the caller to close the connection and reader when finished.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">IDataReader</span> ExecuteReader(<span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.IDataReader</span><br />
                      <p>An <code>System.Data.IDataReader</code> object.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteReader(System.Data.Common.DbCommand)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteReader(System.Data.Common.DbCommand)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteReader(DbCommand)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> and returns an <code>System.Data.IDataReader</code> through which the result can be read.<br />It is the responsibility of the caller to close the connection and reader when finished.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteReader(DbCommand) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> and returns an <code>System.Data.IDataReader</code> through which the result can be read.<br />It is the responsibility of the caller to close the connection and reader when finished.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">IDataReader</span> ExecuteReader(<span class="type">DbCommand</span> command)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The command that contains the query to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.IDataReader</span><br />
                      <p>An <code>System.Data.IDataReader</code> object.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteReader(System.Data.Common.DbCommand,System.Data.Common.DbTransaction)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteReader(System.Data.Common.DbCommand,System.Data.Common.DbTransaction)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteReader(DbCommand, DbTransaction)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> within a transaction and returns an <code>System.Data.IDataReader</code> through which the result can be read.<br />It is the responsibility of the caller to close the connection and reader when finished.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteReader(DbCommand, DbTransaction) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> within a transaction and returns an <code>System.Data.IDataReader</code> through which the result can be read.<br />It is the responsibility of the caller to close the connection and reader when finished.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">IDataReader</span> ExecuteReader(<span class="type">DbCommand</span> command, <span class="type">DbTransaction</span> transaction)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The command that contains the query to execute.</p>
                        </dd>
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.IDataReader</span><br />
                      <p>An <code>System.Data.IDataReader</code> object.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteReader(System.Data.Common.DbTransaction,System.Data.CommandType,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteReader(System.Data.Common.DbTransaction,System.Data.CommandType,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteReader(DbTransaction, CommandType, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> within the given 
<span class="parameter"></span> and returns an <code>System.Data.IDataReader</code> through which the result can be read.<br />It is the responsibility of the caller to close the connection and reader when finished.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteReader(DbTransaction, CommandType, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> within the given 
<span class="parameter"></span> and returns an <code>System.Data.IDataReader</code> through which the result can be read.<br />It is the responsibility of the caller to close the connection and reader when finished.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">IDataReader</span> ExecuteReader(<span class="type">DbTransaction</span> transaction, <span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.IDataReader</span><br />
                      <p>An <code>System.Data.IDataReader</code> object.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteScalar(System.Data.CommandType,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteScalar(System.Data.CommandType,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteScalar(CommandType, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span>  and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteScalar(CommandType, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span>  and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">object</span> ExecuteScalar(<span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Object</span><br />
                      <p>The first column of the first row in the result set.</p>
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.IDbCommand.ExecuteScalar<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteScalar(System.Data.Common.DbCommand)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteScalar(System.Data.Common.DbCommand)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteScalar(DbCommand)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteScalar(DbCommand) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">object</span> ExecuteScalar(<span class="type">DbCommand</span> command)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The command that contains the query to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Object</span><br />
                      <p>The first column of the first row in the result set.</p>
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.IDbCommand.ExecuteScalar<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteScalar(System.Data.Common.DbCommand,System.Data.Common.DbTransaction)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteScalar(System.Data.Common.DbCommand,System.Data.Common.DbTransaction)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteScalar(DbCommand, DbTransaction)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> within a <span class="parameter"></span>, and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteScalar(DbCommand, DbTransaction) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> within a <span class="parameter"></span>, and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">object</span> ExecuteScalar(<span class="type">DbCommand</span> command, <span class="type">DbTransaction</span> transaction)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The command that contains the query to execute.</p>
                        </dd>
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Object</span><br />
                      <p>The first column of the first row in the result set.</p>
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.IDbCommand.ExecuteScalar<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="ExecuteScalar(System.Data.Common.DbTransaction,System.Data.CommandType,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#ExecuteScalar(System.Data.Common.DbTransaction,System.Data.CommandType,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">ExecuteScalar(DbTransaction, CommandType, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> 
within the given <span class="parameter"></span> and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.ExecuteScalar(DbTransaction, CommandType, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> interpreted as specified by the <span class="parameter"></span> 
within the given <span class="parameter"></span> and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">object</span> ExecuteScalar(<span class="type">DbTransaction</span> transaction, <span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Object</span><br />
                      <p>The first column of the first row in the result set.</p>
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.IDbCommand.ExecuteScalar<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="GetConnection">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#GetConnection" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">GetConnection</a>
            </td>
            <td>
              
Gets the connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.GetConnection 方法 </h3>
                  <div>
                    
Gets the connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbConnection</span> GetConnection()</pre></div>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbConnection</span><br />
                      
                    </div>
                </div>
              </td>
            </tr>
          <tr id="GetConnection(System.Boolean)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#GetConnection(System.Boolean)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">GetConnection(Boolean)</a>
            </td>
            <td>
              
Gets the connection.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.GetConnection(Boolean) 方法 </h3>
                  <div>
                    
Gets the connection.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbConnection</span> GetConnection(<span class="keyword">bool</span> tryOpen)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>tryOpen</dt>
                        <dd>
                          类型：<span class="type">System.Boolean</span><br />
                          if set to <code>true</code> [try open].
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbConnection</span><br />
                      
                    </div>
                </div>
              </td>
            </tr>
          <tr id="GetDataAdapter">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#GetDataAdapter" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">GetDataAdapter</a>
            </td>
            <td>
              
Gets a DbDataAdapter with Standard update behavior.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.GetDataAdapter 方法 </h3>
                  <div>
                    
Gets a DbDataAdapter with Standard update behavior.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbDataAdapter</span> GetDataAdapter()</pre></div>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbDataAdapter</span><br />
                      A <code>System.Data.Common.DbDataAdapter</code>.
                    </div>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />请参见</h4></a>
                    <div class="seeAlsoSection">
                        System.Data.Common.DbDataAdapter<br />
                    </div>
                </div>
              </td>
            </tr>
          <tr id="GetSqlStringCommand(System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#GetSqlStringCommand(System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">GetSqlStringCommand(String)</a>
            </td>
            <td>
              <p>When overridden in a derived class, creates an <code>System.Data.Common.DbCommand</code> for a SQL query.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.GetSqlStringCommand(String) 方法 </h3>
                  <div>
                    <p>When overridden in a derived class, creates an <code>System.Data.Common.DbCommand</code> for a SQL query.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbCommand</span> GetSqlStringCommand(<span class="keyword">string</span> query)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>query</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The text of the query.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbCommand</span><br />
                      <p>The <code>System.Data.Common.DbCommand</code> for the SQL query.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="GetStoredProcCommand(System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#GetStoredProcCommand(System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">GetStoredProcCommand(String)</a>
            </td>
            <td>
              <p>When overridden in a derived class, creates a <code>System.Data.Common.DbCommand</code> for a stored procedure.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.GetStoredProcCommand(String) 方法 </h3>
                  <div>
                    <p>When overridden in a derived class, creates a <code>System.Data.Common.DbCommand</code> for a stored procedure.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="type">DbCommand</span> GetStoredProcCommand(<span class="keyword">string</span> storedProcedureName)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>storedProcedureName</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name of the stored procedure.</p>
                        </dd>
                    </dl>
                    <h5>返回值</h5>
                    <div class="returnsSection">
                      类型：<span class="type">System.Data.Common.DbCommand</span><br />
                      <p>The <code>System.Data.Common.DbCommand</code> for the stored procedure.</p>
                    </div>
                </div>
              </td>
            </tr>
          <tr id="LoadDataSet(System.Data.CommandType,System.String,System.Data.DataSet,System.String[])">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#LoadDataSet(System.Data.CommandType,System.String,System.Data.DataSet,System.String[])" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">LoadDataSet(CommandType, String, DataSet, String[])</a>
            </td>
            <td>
              <p>Loads a <code>System.Data.DataSet</code> from command text.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.LoadDataSet(CommandType, String, DataSet, String[]) 方法 </h3>
                  <div>
                    <p>Loads a <code>System.Data.DataSet</code> from command text.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> LoadDataSet(<span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText, <span class="type">DataSet</span> dataSet, <span class="keyword">string</span>[] tableNames)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                        <dt>dataSet</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataSet</span><br />
                          <p>The <code>System.Data.DataSet</code> to fill.</p>
                        </dd>
                        <dt>tableNames</dt>
                        <dd>
                          类型：<span class="type">System.String[]</span><br />
                          <p>An array of table name mappings for the <code>System.Data.DataSet</code>.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">LoadDataSet(DbCommand, DataSet, String)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> and adds a new <code>System.Data.DataTable</code> to the existing <code>System.Data.DataSet</code>.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.LoadDataSet(DbCommand, DataSet, String) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> and adds a new <code>System.Data.DataTable</code> to the existing <code>System.Data.DataSet</code>.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> LoadDataSet(<span class="type">DbCommand</span> command, <span class="type">DataSet</span> dataSet, <span class="keyword">string</span> tableName)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The <code>System.Data.Common.DbCommand</code> to execute.</p>
                        </dd>
                        <dt>dataSet</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataSet</span><br />
                          <p>The <code>System.Data.DataSet</code> to load.</p>
                        </dd>
                        <dt>tableName</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name for the new <code>System.Data.DataTable</code> to add to the <code>System.Data.DataSet</code>.</p>
                        </dd>
                    </dl>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />异常</h4></a>
                    <table class="exceptionTable" cellspacing="0" cellpadding="0" border="0">
                      <tr>
                        <th>异常</th>
                        <th>条件</th>
                      </tr>
                        <tr>
                          <td><span class="type">System.ArgumentNullException</span></td>
                          <td>Any input parameter was  (<b>Nothing</b> in Visual Basic)</td>
                        </tr>
                        <tr>
                          <td><span class="type">System.ArgumentException</span></td>
                          <td>tableName was an empty string</td>
                        </tr>
                    </table>
                </div>
              </td>
            </tr>
          <tr id="LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String,System.Data.Common.DbTransaction)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String,System.Data.Common.DbTransaction)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">LoadDataSet(DbCommand, DataSet, String, DbTransaction)</a>
            </td>
            <td>
              <p>Executes the <span class="parameter"></span> within the given <span class="parameter"></span> and adds a new <code>System.Data.DataTable</code> to the existing <code>System.Data.DataSet</code>.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.LoadDataSet(DbCommand, DataSet, String, DbTransaction) 方法 </h3>
                  <div>
                    <p>Executes the <span class="parameter"></span> within the given <span class="parameter"></span> and adds a new <code>System.Data.DataTable</code> to the existing <code>System.Data.DataSet</code>.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> LoadDataSet(<span class="type">DbCommand</span> command, <span class="type">DataSet</span> dataSet, <span class="keyword">string</span> tableName, <span class="type">DbTransaction</span> transaction)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The <code>System.Data.Common.DbCommand</code> to execute.</p>
                        </dd>
                        <dt>dataSet</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataSet</span><br />
                          <p>The <code>System.Data.DataSet</code> to load.</p>
                        </dd>
                        <dt>tableName</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The name for the new <code>System.Data.DataTable</code> to add to the <code>System.Data.DataSet</code>.</p>
                        </dd>
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command within.</p>
                        </dd>
                    </dl>
                    <a onclick="ExpandCollapse(this.nextSibling);ToggleSwitch(this.childNodes[0].childNodes[0]);"><h4><img alt="" title="折叠" src="../../images/collapse.png" />异常</h4></a>
                    <table class="exceptionTable" cellspacing="0" cellpadding="0" border="0">
                      <tr>
                        <th>异常</th>
                        <th>条件</th>
                      </tr>
                        <tr>
                          <td><span class="type">System.ArgumentNullException</span></td>
                          <td>Any input parameter was  (<b>Nothing</b> in Visual Basic).</td>
                        </tr>
                        <tr>
                          <td><span class="type">System.ArgumentException</span></td>
                          <td>tableName was an empty string.</td>
                        </tr>
                    </table>
                </div>
              </td>
            </tr>
          <tr id="LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String[])">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String[])" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">LoadDataSet(DbCommand, DataSet, String[])</a>
            </td>
            <td>
              <p>Loads a <code>System.Data.DataSet</code> from a <code>System.Data.Common.DbCommand</code>.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.LoadDataSet(DbCommand, DataSet, String[]) 方法 </h3>
                  <div>
                    <p>Loads a <code>System.Data.DataSet</code> from a <code>System.Data.Common.DbCommand</code>.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> LoadDataSet(<span class="type">DbCommand</span> command, <span class="type">DataSet</span> dataSet, <span class="keyword">string</span>[] tableNames)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The command to execute to fill the <code>System.Data.DataSet</code>.</p>
                        </dd>
                        <dt>dataSet</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataSet</span><br />
                          <p>The <code>System.Data.DataSet</code> to fill.</p>
                        </dd>
                        <dt>tableNames</dt>
                        <dd>
                          类型：<span class="type">System.String[]</span><br />
                          <p>An array of table name mappings for the <code>System.Data.DataSet</code>.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String[],System.Data.Common.DbTransaction)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#LoadDataSet(System.Data.Common.DbCommand,System.Data.DataSet,System.String[],System.Data.Common.DbTransaction)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">LoadDataSet(DbCommand, DataSet, String[], DbTransaction)</a>
            </td>
            <td>
              <p>Loads a <code>System.Data.DataSet</code> from a <code>System.Data.Common.DbCommand</code> in  a transaction.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.LoadDataSet(DbCommand, DataSet, String[], DbTransaction) 方法 </h3>
                  <div>
                    <p>Loads a <code>System.Data.DataSet</code> from a <code>System.Data.Common.DbCommand</code> in  a transaction.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> LoadDataSet(<span class="type">DbCommand</span> command, <span class="type">DataSet</span> dataSet, <span class="keyword">string</span>[] tableNames, <span class="type">DbTransaction</span> transaction)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          <p>The command to execute to fill the <code>System.Data.DataSet</code>.</p>
                        </dd>
                        <dt>dataSet</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataSet</span><br />
                          <p>The <code>System.Data.DataSet</code> to fill.</p>
                        </dd>
                        <dt>tableNames</dt>
                        <dd>
                          类型：<span class="type">System.String[]</span><br />
                          <p>An array of table name mappings for the <code>System.Data.DataSet</code>.</p>
                        </dd>
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command in.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="LoadDataSet(System.Data.Common.DbTransaction,System.Data.CommandType,System.String,System.Data.DataSet,System.String[])">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#LoadDataSet(System.Data.Common.DbTransaction,System.Data.CommandType,System.String,System.Data.DataSet,System.String[])" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">LoadDataSet(DbTransaction, CommandType, String, DataSet, String[])</a>
            </td>
            <td>
              <p>Loads a <code>System.Data.DataSet</code> from command text in a transaction.</p>
            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.LoadDataSet(DbTransaction, CommandType, String, DataSet, String[]) 方法 </h3>
                  <div>
                    <p>Loads a <code>System.Data.DataSet</code> from command text in a transaction.</p>
                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> LoadDataSet(<span class="type">DbTransaction</span> transaction, <span class="type">CommandType</span> commandType, <span class="keyword">string</span> commandText, <span class="type">DataSet</span> dataSet, <span class="keyword">string</span>[] tableNames)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>transaction</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbTransaction</span><br />
                          <p>The <code>System.Data.IDbTransaction</code> to execute the command in.</p>
                        </dd>
                        <dt>commandType</dt>
                        <dd>
                          类型：<span class="type">System.Data.CommandType</span><br />
                          <p>One of the <code>System.Data.CommandType</code> values.</p>
                        </dd>
                        <dt>commandText</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          <p>The command text to execute.</p>
                        </dd>
                        <dt>dataSet</dt>
                        <dd>
                          类型：<span class="type">System.Data.DataSet</span><br />
                          <p>The <code>System.Data.DataSet</code> to fill.</p>
                        </dd>
                        <dt>tableNames</dt>
                        <dd>
                          类型：<span class="type">System.String[]</span><br />
                          <p>An array of table name mappings for the <code>System.Data.DataSet</code>.</p>
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="WriteLog(System.Data.Common.DbCommand)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#WriteLog(System.Data.Common.DbCommand)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">WriteLog(DbCommand)</a>
            </td>
            <td>
              
Writes the log.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.WriteLog(DbCommand) 方法 </h3>
                  <div>
                    
Writes the log.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> WriteLog(<span class="type">DbCommand</span> command)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>command</dt>
                        <dd>
                          类型：<span class="type">System.Data.Common.DbCommand</span><br />
                          The command.
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
          <tr id="WriteLog(System.String)">
            <td><img alt="" title="公共方法" src="../../images/pubmethod.gif" />
            </td>
            <td><a href="#WriteLog(System.String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">WriteLog(String)</a>
            </td>
            <td>
              
Writes the log.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
          	    <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.WriteLog(String) 方法 </h3>
                  <div>
                    
Writes the log.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">void</span> WriteLog(<span class="keyword">string</span> logMsg)</pre></div>
                    <h5>参数</h5>
                    <dl class="paramsSection">
                        <dt>logMsg</dt>
                        <dd>
                          类型：<span class="type">System.String</span><br />
                          The log MSG.
                        </dd>
                    </dl>
                </div>
              </td>
            </tr>
    </table>
  </div>
  <a id="eventTableToggle" onclick="ExpandCollapse(document.getElementById('eventTableSection'));ToggleSwitch(this.childNodes[0].childNodes[0]);"><h2><img alt="" title="折叠" src="../../images/collapse.png" />事件</h2></a>
  <div id="eventTableSection">
    <table id="eventTable" class="memberTable" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <th></th>
        <th>名称</th>
        <th>说明</th>
      </tr>
          <tr id="OnLog">
            <td><img alt="" title="公共事件" src="../../images/pubevent.gif" />
            </td>
            <td><a href="#OnLog" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;">OnLog</a>
            </td>
            <td>
              
OnLog event.

            </td>
          </tr>
            <tr style="display:none;">
              <td colspan="3">
                <div class="memberSection" ondblclick="if(GetSelection()=='')ExpandCollapse(this.parentNode.parentNode);">
                  <h3>Database.OnLog 事件 </h3>
                  <div>
                    
OnLog event.

                  </div>
                  <div class="syntaxSection"><pre class="code"><span class="keyword">public</span> <span class="keyword">event</span> <a href="LogHandler.html" class="type">LogHandler</a> OnLog</pre></div>
                    <h5>实现</h5><code>Dos.ORM.ILogable.OnLog</code>
                </div>
              </td>
            </tr>
    </table>
  </div>
<br />
<div class="DocsBuilder">Generated by <span><a href="http://www.ITdos.com" target="_blank">www.ITdos.com</a></span></div>
</body>
</html>
